import api from '@/api/api';
export const moduleUser = {
  state: {
    userForm: {
      username: null
    }
  },
  actions: {
    register(context,obj){
      api.register(obj).then(function(res){
        console.log(res);
      })
    }
  }
};
